package com.kuangstudy.struct;

/**
 * ClassName: Switch
 * date: 2021/7/10/010
 *
 * @author zlk
 */
public class Switch {
    public static void main(String[] args) {
        String name = "zlk";
        switch (name){
            case "zlk":
                System.out.println("zlk");
                break;
            case "ly":
                System.out.println("ly");
                break;
            default:
                System.out.println("not");
        }
    }
}
